package ui;

import java.io.PrintStream;

public class Stream extends PrintStream
{
	public Stream()
	{
		super(System.out);
	}
	
	public void println(String text)
	{
		MainWindow.instance().addText(text);
	}	
}
